package xiangmu;

public class Kehuxinxi {
    private String name;
    private String phone;
    private int days;
    private String chepai;
    private double money;

    public Kehuxinxi(String name, String phone, int days, String chepai,double money) {
        this.name = name;
        this.phone = phone;
        this.days = days;
        this.chepai = chepai;
        this.money=money;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    public String getChepai() {
        return chepai;
    }

    public void setChepai(String chepai) {
        this.chepai = chepai;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public void show(){
        System.out.println("客户名:"+getName()+",客户手机号:"+getPhone()+",租的车牌为："+getChepai()+"，租的天数为"+getDays()+"天。"+"收到租金"+getMoney()+"元。");
    }
}
